local DrawControl = require "draw_control"

local HelloWorld= class(zui.Window)


function HelloWorld:ctor()
	self:createWindow("HelloWorld",self.POS_CENTER,self.POS_CENTER,600,400)
end

function HelloWorld:onInit()
	self:loadLayout("layout/hello_world.xml")
	
	--self._drawContrl=DrawControl.new()
	--self:findControl("layout"):addAt(self._drawContrl,0)
end

function HelloWorld:quit()
	self:close()
	helloWorldWnd = nil
end

helloWorldWnd = HelloWorld.new()





